package com.eeds.service.word;

import com.eeds.common.enums.TemplateEnum;
import com.eeds.model.word.req.ReqExportDocVO;

import java.io.OutputStream;

public interface WordService {

    /**
     * 导出doc
     * @param reqExportDocVO
     * @return
     */
    String exportDoc(ReqExportDocVO reqExportDocVO);

    /**
     * 导出doc
     * @param object
     * @param templateEnum
     * @return
     */
    String exportDoc(Object object, TemplateEnum templateEnum);

    /**
     * 导出doc 文件流
     * @param filePath
     * @param outputStream
     * @return
     */
    void exportDoc(String filePath, OutputStream outputStream);

}
